Skip to content

HHH-18985 NPE selecting embedded fields from union query wrapped in criteria query#462

Open
kishore-pothireddy wants to merge 1 commit intohibernate:mainfrom
kishore-pothireddy:HHH-18985
Open

HHH-18985 NPE selecting embedded fields from union query wrapped in criteria query#462
kishore-pothireddy wants to merge 1 commit intohibernate:mainfrom
kishore-pothireddy:HHH-18985

Conversation

@kishore-pothireddy
Copy link
Copy Markdown

@kishore-pothireddy kishore-pothireddy commented Dec 24, 2024

https://hibernate.atlassian.net/browse/HHH-18985

Getting following exception when selecting embedded fields from union query wrapped in a criteria query.

java.lang.NullPointerException: Cannot invoke "org.hibernate.metamodel.mapping.EmbeddableValuedModelPart.findSubPart(String, org.hibernate.metamodel.mapping.EntityMappingType)" because "modelPartContainer" is null

@yrodiere yrodiere changed the title NPE selecting embedded fields from union query wrapped in criteria query HHH-18985 NPE selecting embedded fields from union query wrapped in criteria query Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant